import uvicorn

if __name__ == "__main__":
    uvicorn.run(app='apps.main:app', host="0.0.0.0", port=1481, reload=True)  # 正式环境

# 运行方式：开发模式
# 热更新和多进程不能共
# mkdir -p ~/log_service
# nohup python3 manage_YiFengApi_uvicorn1481.py > ~/log_service/1479_out.log 2> ~/log_service/1479_err.log &
# nohup python3 manage_YiFengApi_uvicorn1481.py >/dev/null 2>&1 &    #不输出日志
# 最新10.0.0.1   2024Canon@Python
